<?php
namespace Home\Controller;

use Think\Controller;

class KnowledgeController extends ComController
{
   
    public function index() {
        $this->display();
    }
        
    public function adcate() {
        $data =[
                [
                'site_id'=>1,
                'name'=>'书城首页',
            ],
                  [
                'site_id'=>2,
                'name'=>'精选首页',
            ],
            ];
        return $data;
    }
    
}